package com.macro.mall.dao.oms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.oms.OmsOrderDO;
import com.macro.mall.model.oms.OmsOrderQuery;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface OmsOrderMapper  extends BaseMapper<OmsOrderDO> {
    long countByExample(OmsOrderQuery example);

    int deleteByExample(OmsOrderQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(OmsOrderDO record);

    int insertSelective(OmsOrderDO record);

    List<OmsOrderDO> selectByExample(OmsOrderQuery example);

    OmsOrderDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") OmsOrderDO record, @Param("example") OmsOrderQuery example);

    int updateByExample(@Param("record") OmsOrderDO record, @Param("example") OmsOrderQuery example);

    int updateByPrimaryKeySelective(OmsOrderDO record);

    int updateByPrimaryKey(OmsOrderDO record);
}
